package com.diversitopia.report;

import java.util.Date;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Calendar;

public class Stock {
	private String name;
	private String tickerName;
	private String owner;
	private Date purchaseDate;
	private Date soldDate;
	private Double purchaseCostPerUnit;
	private Double soldCostPerUnit;
	private Double totalPurchaseCost;
	private Double totalSoldCost;	
	private Integer howManyUnits;
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getTickerName() {
		return tickerName;
	}

	public void setTickerName(String tickerName) {
		this.tickerName = tickerName;
	}

	public Date getPurchaseDate() {
		return purchaseDate;
	}

	public void setPurchaseDate(Date purchaseDate) {
		this.purchaseDate = purchaseDate;
	}

	public Date getSoldDate() {
		return soldDate;
	}

	public void setSoldDate(Date soldDate) {
		this.soldDate = soldDate;
	}

	public Double getPurchaseCostPerUnit() {
		return purchaseCostPerUnit;
	}

	public void setPurchaseCostPerUnit(Double purchaseCostPerUnit) {
		this.purchaseCostPerUnit = purchaseCostPerUnit;
	}

	public Double getSoldCostPerUnit() {
		return soldCostPerUnit;
	}

	public void setSoldCostPerUnit(Double soldCostPerUnit) {
		this.soldCostPerUnit = soldCostPerUnit;
	}

	public Double getTotalPurchaseCost() {
		return totalPurchaseCost;
	}

	public void setTotalPurchaseCost(Double totalPurchaseCost) {
		this.totalPurchaseCost = totalPurchaseCost;
	}

	public Double getTotalSoldCost() {
		return totalSoldCost;
	}

	public void setTotalSoldCost(Double totalSoldCost) {
		this.totalSoldCost = totalSoldCost;
	}

	public Integer getHowManyUnits() {
		return howManyUnits;
	}

	public void setHowManyUnits(Integer howManyUnits) {
		this.howManyUnits = howManyUnits;
	}

	public Stock() {
		super();
		// TODO Auto-generated constructor stub
	}

	public void setOwner(String owner) {
		this.owner = owner;
	}

	public String getOwner() {
		return owner;
	}
	
}
